package com.zby.lease.model.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.autotable.annotation.AutoTable;

@Data
@Schema(description = "租期信息")
@TableName(value = "lease_term")
@AutoTable
public class LeaseTerm extends BaseEntity{
    private static final long serialVersionUID = 1L;
   @Schema(description = "月数")
   @TableField(value = "month_count")
    private Integer monthCount;
   @Schema(description = "租期单位：月")
   @TableField(value = "unit")
    private String unit;
}
